package org.jeecg.modules.wlhy.order.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.wlhy.order.entity.HyOrderDriver;
import org.jeecg.modules.wlhy.order.mapper.HyOrderDriverMapper;
import org.jeecg.modules.wlhy.order.service.IHyOrderDriverService;
import org.jeecg.modules.wlhy.order.vo.HyOrderDriverVO;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: hy_order_driver
 * @Author: jeecg-boot
 * @Date:   2021-05-13
 * @Version: V1.0
 */
@Service
public class HyOrderDriverServiceImpl extends ServiceImpl<HyOrderDriverMapper, HyOrderDriver> implements IHyOrderDriverService {

    @Override
    public IPage<HyOrderDriverVO> getPageList(Page<HyOrderDriverVO> page, QueryWrapper<HyOrderDriverVO> queryWrapper) {
        return page.setRecords(baseMapper.getPageList(page,queryWrapper));
    }
}
